package com.bss.dao;

// Generated Nov 1, 2011 10:54:22 PM by Hibernate Tools 3.3.0.GA

import java.util.List;

import org.springframework.stereotype.Repository;

import com.andy.basics.Dao;
import com.bss.model.MaterialSet;

@Repository
public class MaterialSetDao extends Dao<MaterialSet> {

	private volatile List<MaterialSet> materials = null;

	@Override
	public synchronized List<MaterialSet> findAll() {
		if (this.materials == null) {
			this.materials = super.findAll();
		}
		return this.materials;
	}
}
